package com.ling.pl.security.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author bo.wang
 */
@RequestMapping("/defaultCompany")
@FeignClient(name = "LING-CLOUD-BASE")
public interface DefaultCompanyService extends BaseDefaultCompanyService {

    @RequestMapping(value = "/checkCompanyExist", method = RequestMethod.GET)
    public String checkCompanyExist(@RequestParam("id") String id);
}

